import { createRouter, createWebHistory } from 'vue-router'
   // 导入页面组件（可根据实际需求创建）
import HelloWorld from '../components/HelloWorld.vue'
import Hello from '../components/Hello.vue'          //  Hello.vue 后边的vue不能省略 
import AxiosComponet from '../components/AxiosComponet.vue'



   const routes = [
     { path: '/', name: 'HelloWorld', component: HelloWorld },
     { path: '/Hello', name: 'Hello', component: Hello },
	 { path: '/axioxtest', name: 'AxiosComponet', component: AxiosComponet },
   ]
   const router = createRouter({
     history: createWebHistory(),  // 使用 HTML5 history 模式
     routes
   })

   export default router
   